//
//  SEGInviteQRCodeViewModel.m
//  Commom
//
//  Created by 山刘 on 2020/6/1.
//

#import "SEGInviteQRCodeViewModel.h"

@implementation SEGInviteQRCodeViewModel
#pragma mark - business
-(NSMutableDictionary*)getSharedParams{
    NSMutableDictionary *tmp = [NSMutableDictionary dictionary];
    [tmp setValue:@(SEGShareVCType_Invite) forKey:@"shareVCType"];
    [tmp setValue:kAppName forKey:@"sharetitle"];
    NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
    NSString *app_Name = [infoDictionary objectForKey:@"CFBundleDisplayName"];
    NSString *string = [NSString stringWithFormat:@"点击下载%@",app_Name];
    [tmp setValue:string forKey:@"sharecontent"];
    [tmp setValue:[NSString stringWithFormat:@"http://android.uhomecp.com/%@/download.html",kAppPlatformCode] forKey:@"inviteurl"];
    return tmp;
}
#pragma mark - getter
@end
